package com.example.blogback.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "分类数据传输对象")
public class CategoryDTO {
    @Schema(description = "分类ID")
    private Long id;
    
    @Schema(description = "分类名称")
    private String name;
    
    @Schema(description = "父分类ID")
    private Long parentId;
    
    @Schema(description = "分类描述")
    private String description;
    
    @Schema(description = "排序值")
    private Integer sort;
}